
#ifndef ProxyManager_h__
#define ProxyManager_h__
#include "Global.h"
#include "UserProxy.h"
#include "ItemProxy.h"
#include "DungeonsProxy.h"

class ProxyManager : public Singleton<ProxyManager>, public CCObject
{
public:
	ProxyManager();
	~ProxyManager();

	UserProxy* mUserProxy;
	ItemProxy* mItemProxy;
	DungeonsProxy* mDungeonsProxy;

protected:

private:
	void _addObserver();
	void GameInit(CCObject* object);
	void GameLoad(CCObject* object);
	void Regist(CCObject* object);
	void GetInfo(CCObject* object);
	void GetBagInfo(CCObject* object);
	void GetTaskInfo(CCObject* object);
	void DungeonExplor(CCObject* object);
	void DistributePoint(CCObject* object);
	void ComposeEquipage(CCObject* object);
	void LoadEquipage(CCObject* object);
	void SellEquipage(CCObject* object);
	void UnloadEquipage(CCObject* object);
};

#endif // ProxyManager_h__
